﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true"
    CodeFile="WIN09_3V.aspx.cs" Inherits="IFRS_WIN09_3V" %>

<%@ Register Assembly="vsm.CustomControl" Namespace="vsm.CustomControl" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script src="../Content/js/Currency.js" type="text/javascript"></script>
    <link href="../Content/plugins/jquery-ui/themes/base/jquery.ui.all.css" rel="stylesheet"
        type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container-custom">
        <div class="table_master">
            <div class="table_detail">
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblTransactionDate" runat="server" Text="<%$Resources:ifrsField,DATE_TRANSACTION%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtTransactionDate" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblAccountNo" runat="server" Text="<%$Resources:ifrsField,ACCOUNTNO%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtAccountNo" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblGL_ACCOUNT" runat="server" Text="<%$Resources:ifrsField,GL_ACCOUNT%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtGLAccountCode" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblCostCenter" runat="server" Text="<%$Resources:ifrsField,COST_CENTER%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtCostCenter" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblContractStartDate" runat="server" Text="<%$Resources:ifrsField,STARTDATE_CONTRACT_LOAN%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtContractStartDate" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblContractEndDate" runat="server" Text="<%$Resources:ifrsField,ENDDATE_CONTRACT_LOAN%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtContractEndDate" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblFirstPaymentDate" runat="server" Text="<%$Resources:ifrsField,FirstPaymentDate%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtFirstPaymentDate" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblLastPaymentDate" runat="server" Text="<%$Resources:ifrsField,LastPaymentDate%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtLastPaymentDate" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblPaymentFreq" runat="server" Text="<%$Resources:ifrsField,PaymentFreq%>"
                            ClientIDMode="Static" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtPaymentFreq" runat="server" SkinID="ReadOnlyBox" MaxLength="10"
                            DigitDecimal="2" TypeTextbox="Currency" DefaultZero="False" />&nbsp;
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblPaymentFreqTimeBase" runat="server" Text="<%$Resources:ifrsField,PaymentFreqTimeBase%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:DropDownList ID="ddlPaymentFreqTimeBase" runat="server" SkinID="ReadonlyDropDownList"
                            Enabled="false" />
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblInterestPayFreq" runat="server" Text="<%$Resources:ifrsField,InterestPayFreq%>"
                            ClientIDMode="Static" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtInterestPayFreq" runat="server" SkinID="ReadOnlyBox" MaxLength="10"
                            DigitDecimal="2" TypeTextbox="Currency" DefaultZero="False" />&nbsp;
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblInterestPayFreqTimeBase" runat="server" Text="<%$Resources:ifrsField,InterestPayFreqTimeBase%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:DropDownList ID="ddlInterestPayFreqTimeBase" runat="server" SkinID="ReadonlyDropDownList" Enabled="false" />
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblInterestAdjFreq" runat="server" Text="<%$Resources:ifrsField,InterestAdjFreq%>"
                            ClientIDMode="Static" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtInterestAdjFreq" runat="server" SkinID="ReadOnlyBox" MaxLength="10"
                            DigitDecimal="2" TypeTextbox="Currency" DefaultZero="False" />&nbsp;
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblInterestAdjFreqTimeBase" runat="server" Text="<%$Resources:ifrsField,InterestAdjFreqTimeBase%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:DropDownList ID="ddlInterestAdjFreqTimeBase" runat="server" SkinID="ReadonlyDropDownList" Enabled="false"/>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblPaymentCondition" runat="server" Text="<%$Resources:ifrsField,PAYMENT_CONDITION%>"
                            ClientIDMode="Static" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:DropDownList ID="ddlPaymentCondition" runat="server" SkinID="ReadonlyDropDownList" Enabled="false"/>
                        &nbsp;
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblPaymentDate" runat="server" Text="<%$Resources:ifrsField,PaymentDateID%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:DropDownList ID="ddlPaymentDate" runat="server" SkinID="ReadonlyDropDownList" Enabled="false"/>
                        &nbsp;
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblCustomerPayFreq" runat="server" Text="<%$Resources:ifrsField,CustomerPayFreq%>"
                            ClientIDMode="Static" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtCustomerPayFreq" runat="server" SkinID="ReadOnlyBox" MaxLength="10"
                            DigitDecimal="2" TypeTextbox="Currency" DefaultZero="False" />&nbsp;
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblCustomerPayFreqTimeBase" runat="server" Text="<%$Resources:ifrsField,CustomerPayFreqTimeBase%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:DropDownList ID="ddlCustomerPayFreqTimeBase" runat="server" SkinID="ReadonlyDropDownList" Enabled="false"/>
                        &nbsp;
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblTermAmount" runat="server" Text="<%$Resources:ifrsField,TermAmount%>"
                            ClientIDMode="Static" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtTermAmount" runat="server" SkinID="ReadOnlyBox" MaxLength="10"
                            DigitDecimal="2" TypeTextbox="Currency" />&nbsp;
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblCapitalAmount" runat="server" Text="<%$Resources:ifrsField,CapitalAmount%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtCapitalAmount" runat="server" SkinID="ReadOnlyBox" MaxLength="10"
                            DigitDecimal="2" TypeTextbox="Currency" />&nbsp;
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblNextPaymentDate" runat="server" Text="<%$Resources:ifrsField,NextPaymentDate%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtNextPaymentDate" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblEndCalInterestDate" runat="server" Text="<%$Resources:ifrsField,EndCalInterestDate%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtEndCalInterestDate" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblStartPaymentDate" runat="server" Text="<%$Resources:ifrsField,StartPaymentDate%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtStartPaymentDate" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblMisPaymentDate" runat="server" Text="<%$Resources:ifrsField,MisPaymentDate%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtMisPaymentDate" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblNoOfPayment" runat="server" Text="<%$Resources:ifrsField,NoOfPayment%>"
                            ClientIDMode="Static" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtNoOfPayment" runat="server" SkinID="SS_ReadOnlyBox"></asp:TextBox>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblUnpaidAmount" runat="server" Text="<%$Resources:ifrsField,TOTAL_DEBT_OUTSTANDING%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtUnpaidAmount" runat="server" SkinID="ReadOnlyBox" MaxLength="10"
                            DigitDecimal="2" TypeTextbox="Currency" />&nbsp;
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblDayCountMethod" runat="server" Text="<%$Resources:ifrsField,DayCountMethodID%>"
                            ClientIDMode="Static" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:DropDownList ID="ddlDayCountMethod" runat="server" SkinID="ReadonlyDropDownList" Enabled="false"/>
                        &nbsp;
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblStartInterestRate" runat="server" Text="<%$Resources:ifrsField,StartInterestRate%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtStartInterestRate" runat="server" SkinID="ReadOnlyBox"
                            MaxLength="10" DigitDecimal="2" TypeTextbox="Currency" />&nbsp;
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblInterestTypeID" runat="server" Text="<%$Resources:ifrsField,InterestTypeID%>"
                            ClientIDMode="Static" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:DropDownList ID="ddlInterestTypeID" runat="server" SkinID="ReadonlyDropDownList" Enabled="false"/>
                        &nbsp;
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblInterestRate" runat="server" Text="<%$Resources:ifrsField,InterestRate%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtInterestRate" runat="server" SkinID="ReadOnlyBox" MaxLength="10"
                            DigitDecimal="6" TypeTextbox="Currency" />&nbsp;
                        <asp:Label ID="Label11" runat="server" Text="<%$Resources:ifrsField,PERCENT%>" />
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblReferenceInterestCD" runat="server" Text="<%$Resources:ifrsField,REFERENCEINTERESTCD%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtReferenceInterestCD" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblAdditionalInterest" runat="server" Text="<%$Resources:ifrsField,ADDITIONALINTEREST2%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtAdditionalInterest" runat="server" SkinID="ReadOnlyBox"
                            MaxLength="10" DigitDecimal="6" TypeTextbox="Currency" />&nbsp;
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblCurrencyCodeCD" runat="server" Text="<%$Resources:ifrsField,CurrencyCodeCD%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtCurrencyCodeCD" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblUnpaidInterest" runat="server" Text="<%$Resources:ifrsField,UnpaidInterest%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtUnpaidInterest" runat="server" SkinID="ReadOnlyBox" MaxLength="10"
                            DigitDecimal="2" TypeTextbox="Currency" />&nbsp;
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblCustomer_ID" runat="server" Text="<%$Resources:ifrsField,Customer_ID%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtCustomer_ID" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblCreditLevelID" runat="server" Text="<%$Resources:ifrsField,CreditLevelID%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:DropDownList ID="ddlCreditLevelID" runat="server" SkinID="ReadonlyDropDownList" Enabled="false"/>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblContractLoanTypeID" runat="server" Text="<%$Resources:ifrsField,ContractLoanTypeID%>"
                            ClientIDMode="Static" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:DropDownList ID="ddlContractLoanTypeID" runat="server" SkinID="ReadonlyDropDownList" Enabled="false"/>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblLoanObjectiveID" runat="server" Text="<%$Resources:ifrsField,LoanObjectiveID%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtLoanObjectiveID" runat="server" SkinID="ReadOnlyBox"></asp:TextBox>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                        <asp:Label ID="lblCollateralValue" runat="server" Text="<%$Resources:ifrsField,CollateralValue%>"
                            ClientIDMode="Static" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtCollateralValue" runat="server" SkinID="ReadOnlyBox" MaxLength="10"
                            DigitDecimal="2" TypeTextbox="Currency" />
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblReservedAmount" runat="server" Text="<%$Resources:ifrsField,ReservedAmount%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <cc1:TextboxNumber ID="txtReservedAmount" runat="server" SkinID="ReadOnlyBox" MaxLength="10"
                            DigitDecimal="2" TypeTextbox="Currency" />
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel">
                    </div>
                    <div class="colinfo">
                        <asp:CheckBox ID="cbDebtAdjust" runat="server" Text="<%$Resources:ifrsField,LIST_OF_RESTRUCTURING%>" Enabled="false"/>
                    </div>
                    <div class="collabel">
                        <asp:Label ID="lblLIST_STATUS" runat="server" Text="<%$Resources:ifrsField,LIST_STATUS%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">
                        <asp:TextBox ID="txtStatus" runat="server" SkinID="ReadOnlyBox" Text="สร้างรายการ"></asp:TextBox>
                    </div>
                </div>
            </div>
            <div class="colbtn">
                <asp:Button ID="btnCANCEL" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,CANCEL%>"
                    OnClick="btnCANCEL_Click" />
            </div>
        </div>
    </div>
</asp:Content>
